<div class="container" id="danh_muc_bai_viet">
	<div class="row">
		<div class="span4 pull-right text-center">
			<div>
				<%= image_tag "danh_muc_#{@danh_muc.slug}.png"%>
				<h2><%= @danh_muc_ngon_ngu.ten %></h2>
			</div>
			<div id="bai_viet_gan_day">
				<ul class="unstyled">
					<% for bv in @bai_viet_moi %>
					<li class="post">
						<div class="time muted">
							<%= bv.created_at.strftime("Ngày %d-%m-%Y")%>
						</div>
						<div class="title">
							<a href="<%= url_for :action=>'index', :danh_muc_slug => @danh_muc.slug, :bai_viet_slug => bv.slug %>"><%= bv.tieu_de %></a>
						</div>
					</li>
					<% end %>
				</ul>
				<a href="<%= url_for :action => 'danh_muc', :danh_muc => @danh_muc.slug %>" class="btn btn-small"><%= t 'xem_tat_ca'%></a>
			</div>
		</div>
		<div class="span8 pull-left">
			<div>
				<h1><%= @bai_viet.tieu_de %></h1>
			</div>
			<div class="post">
				<div class="time">
					<%= @bai_viet.created_at.strftime("Đăng ngày %d tháng %m năm %Y")%>
				</div>
				<div class="body">
					<%= raw @bai_viet.noi_dung %>
				</div>
			</div>

			<div class="pager">
				<% if @co_trang_truoc %>
				<li class="previous">
					<a href="<%= url_for :danh_muc => params[:danh_muc], :page => @trang - 1%>">&larr; <%= t 'trang_truoc'%></a>
				</li>
				<%end %>
				<% if @co_trang_sau %>
				<li class="next">
					<a href="<%= url_for :danh_muc => params[:danh_muc], :page => @trang + 1%>"><%= t 'trang_sau'%> &rarr;</a>
				</li>
				<%end %>
			</div>
			<div>
				<%= render "shared/disqus" %>
			</div>
		</div>

	</div>
</div>

<div>
	<%= render "shared/goi_y_caphe" %>
</div>